package com.huan.dubbo.service.impl;

import com.huan.dubbo.service.HelloService;
import com.huan.dubbo.service.RpcRequest;
import com.huan.dubbo.service.RpcResponse;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * @description:
 * @Author 万伟焕
 * @Date 2023-12-25 11:20:38
 **/
@DubboService(weight = 1)
public class HelloServiceImpl implements HelloService {
    @Override
    public String sayHello() {
        return "sayHello dubbo 1!!!";
    }

    @Override
    public String sayHelloByName(String name) {
        return "sayHello 1"+ name;
    }

    @Override
    public RpcResponse sayHelloRpcRequest(RpcRequest rpcRequest) {
        return null;
    }
}
